#include<stdio.h>
void splitfloat(float x, int *intpart, float *fracpart);
int main()
{int a;
float b;
int *intpart=&a;
float *fracpart=&b;
    float n;
    scanf("%f",&n);
    splitfloat(n,intpart,fracpart);
    printf("%d %.2f",a,b);

return 0;}
void splitfloat(float x, int *intpart, float *fracpart)
{*intpart=(int)x;
*fracpart=x-(int)x;

}
